package com.github.pig.admin.feign;

import com.github.pig.common.util.ResponseUtil;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.*;


/**
 * @author gaopeng
 * @date 2018/10/23
 */
@FeignClient(name = "entrance-guard", fallback = GuardIcDeviceFeignFallbackImpl.class)
public interface GuardIcDeviceFeign {

    /**
     * 通过房屋同步（房屋所有业主下的Ic卡）
     *
     * @param houseId
     * @return
     */
    @GetMapping("/guardIcInfo/updateStatusByHouseId/{houseId}")
    ResponseUtil updateStatusByHouseId(@PathVariable("houseId") String houseId);

}
